<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="app" uri="http://www.wanrenhui.com"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@include file="/res/include/base-head.jsp"%>
<%@include file="/res/include/jquery-easyui.jsp"%>
<script type="text/javascript" src="${pageContext.request.contextPath}/res/js/send/deliveryOrder.js"></script>
<style>
*{margin:0; padding:0;}
.box{ position:absolute; padding:10px 20px 20px 20px; background:#fff; z-index:999999;}
.box dl{display:block; width:100%;margin-bottom:50px;}
.box dt{font-size:14px;color:red;line-height:30px; font-weight:bold;}
.box dd{ width:49%;float:left; line-height:30px; }

table.gridtable {
	font-family: verdana,arial,sans-serif;
	font-size:11px;
	color:#333333;
	border-width: 1px;
	border-color: #666666;
	border-collapse: collapse;
}
table.gridtable th {
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #666666;
	background-color: #dedede;
}
table.gridtable td {
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #666666;
	background-color: #ffffff;
}
</style>
</head>
<body>
	<div class="box">
		<dl>
			<dt>配送单-详情</dt>
			<dd>
				订单号：<c:out value='${deliveryOrder.orderNo}' />
			</dd>
			<dd>
				配送单号：<c:out value='${deliveryOrder.id}' />
			</dd>			
			<dd>
				接单时间：<c:out value='${deliveryOrder.strNewAt}' />
			</dd>
			<dd>
				商品总数量：<c:out value='${deliveryOrder.quantityTotal}' />
			</dd>
			<dd>
				取件状态：<c:out value='${deliveryOrder.strPickupStatus}' />
			</dd>
			<dd>
				取件时间：<c:out value='${deliveryOrder.strPickupAt}' />
			</dd>
			<dd>
				配送状态：<c:out value='${deliveryOrder.strDeliveryStatus}' />
			</dd>
			<dd>
				配送时间：<c:out value='${deliveryOrder.strDeliveryAt}' />
			</dd>
			
		</dl>
		<dl>
			<dd>
				联系人：<c:out value='${deliveryOrder.consignee}' />
			</dd>
			<dd>
				联系电话：<c:out value='${deliveryOrder.phone}' />
			</dd>
			<dd>
				收货地址：<c:out value='${deliveryOrder.address}' />
			</dd>
		</dl>
		<dl>
			<dd>
				供应商：<c:out value='${deliveryOrder.supplierName}' />
			</dd>
			<dd>
				供应商联系电话：<c:out value='${deliveryOrder.supplierPhone}' />
			</dd>
			<dd>
				供应商地址：<c:out value='${deliveryOrder.supplierAddress}' />
			</dd>			
		</dl>
		<dl>
			<dt>配送商品：</dt>
			<dd>
				<table class="gridtable" style="width: 50%;">
	                <thead>
	                <tr>
	                    <th>产品名称</th>
	                    <th>价格</th>
	                    <th>数量</th>
	                </tr>
	                </thead>
	                <tbody>
	                <c:forEach var="itemVo" items="${orderItemList}">
	                    <tr>
	                        <td>${itemVo.name }</td>
	                        <td>${itemVo.price}</td>
	                        <td>${itemVo.quntity}</td>
	                    </tr>
	                </c:forEach>
	                </tbody>
	            </table>
			</dd>
		</dl>
		
	</div>
</body>
</html>
